home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr35 / qprn102.zip / EZ-PACK.BAT < prev    next >
DOS Batch File  |  1993-04-25  |  879b  |  21 lines

  1. REM This batch file is for saving your place in a QWK packet with EZ-RDR.
  2. REM If you're using EZ-RDR's default PKZIP command, PKZIP.EXE -EX, and
  3. REM bookmarks are being inserted, %4 will be equal to *.RD and %3 will
  4. REM be the name of the QWK file.  If you're not passing any options to
  5. REM PKZIP, these parameter will be %3 and %2 respectively.  If you're
  6. REM passing additional options, increase these parameter numbers by 1
  7. REM for each additional option.  For example, if the PKZIP command is
  8. REM PKZIP.EXE -EX -K, you would need to compare %5 to *.RD, and %4 would
  9. REM be the name of the QWK.  The line "%1 -d %3 *.ndx" deletes the old
  10. REM .NDX files from the QWK packet.
  11. REM
  12. @echo off
  13. if %4 == *.RD goto bookmark
  14. %1 %2 %3 %4 %5 %6 %7 %8 %9
  15. goto endit
  16. :bookmark
  17. ren messages.bak messages.dat
  18. %1 -d %3 *.ndx
  19. %1 %2 %3 %4 %5 %6 %7 %8 %9 MESSAGES.DAT
  20. :endit
  21.